<?php

/**
 * User Model
 *
 * @author     Thibaut Cromphaut and Dimitry Dierickx
 * @copyright  Copyright (c) 2011 Safti-Kado
 */
class Application_Model_Department extends Ahs_Model
{

    /**
     * @var integer
     */
    protected $_id;
    /**
     * @var string
     */
    protected $_name;
    /**
     * @var string
     */
    //protected $_description;
    /**
     * @var string
     */
    protected $_color;
    
    /**
     * @var array
     */
    protected $_subdepartment;

    /**
     * @return integer
     */
    public function getId() {
        return $this->_id;
    }

    /**
     * @param string $_id
     */
    public function setId($_id) {
        $this->_id = $_id;
    }

    /**
     * @return string
     */
    public function getName() {
        return $this->_name;
    }

    /**
     * @param string $_name
     */
    public function setName($_name) {
        $this->_name = $_name;
    }

    /**
     * @return string
     */
    /*public function getDescription() {
        return $this->_description;
    }*/

    /**
     * @param string $_description
     */
    /*public function setDescription($_description) {
        $this->_description = $_description;
    }*/

    /**
     * @return string
     */
    public function getColor() {
        return $this->_color;
    }

    /**
     * @param string $_color
     */
    public function setColor($_color) {
        $this->_color = $_color;
    }
    
    /**
     * @return array
     */
    public function getSubdepartment() {
        return $this->_subdepartment;
    }

    /**
     * @param array $subdepartment
     */
    public function setSubdepartment($subdepartment) {
        $this->_subdepartment = $subdepartment;
    }
}
